﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WcMatch.Models
{
    //区域划分
    public class District
    {
        //本级的ID 为 下级的 PID
        //用本级的ID检索下级的区域
        [Key]
        public string? Id { get; set; }

        public string? Name { get; set; }

        //父级区域ID
        public string? PId { get; set; }
    }
}
